/**
 * @author yxw
 * date : 2013年11月24日 上午1:21:32 
 */
package com.tzinfo.tzt.domain;

import java.io.Serializable;
import java.util.List;

public class SeeNote implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4980600221511731484L;
	private int id;
	private int houseid;
	private String villageName;
	private String villageAddress;
	private String price;
	private String type;
	private int size;
	private String floor;
	private String direction;
	private String remark;
	private String agentName;
	private String agentTel;
	private String date;
	private String time;
	private List<String> images;
	private String lastModifyTime;
	
	public void deleteImageByPath(String path){
		for (int i = 0; i < images.size(); i++) {
			if(images.get(i).equals(path)){
				images.remove(i);
				break;
			}
		}
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getHouseid() {
		return houseid;
	}
	public void setHouseid(int houseid) {
		this.houseid = houseid;
	}
	public String getVillageName() {
		return villageName;
	}
	public void setVillageName(String villageName) {
		this.villageName = villageName;
	}
	public String getVillageAddress() {
		return villageAddress;
	}
	public void setVillageAddress(String villageAddress) {
		this.villageAddress = villageAddress;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public String getFloor() {
		return floor;
	}
	public void setFloor(String floor) {
		this.floor = floor;
	}
	public String getDirection() {
		return direction;
	}
	public void setDirection(String direction) {
		this.direction = direction;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAgentName() {
		return agentName;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public String getAgentTel() {
		return agentTel;
	}
	public void setAgentTel(String agentTel) {
		this.agentTel = agentTel;
	}
	
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	public List<String> getImages() {
		return images;
	}
	public void setImages(List<String> images) {
		this.images = images;
	}
	@Override
	public String toString() {
		return "SeeNote [id=" + id + ", houseid=" + houseid + ", villageName="
				+ villageName + ", villageAddress=" + villageAddress
				+ ", price=" + price + ", type=" + type + ", size=" + size
				+ ", floor=" + floor + ", direction=" + direction + ", remark="
				+ remark + ", agentName=" + agentName + ", agentTel="
				+ agentTel + ", date=" + date + ", time=" + time + ", images="
				+ images + ", lastModifyTime=" + lastModifyTime + "]";
	}
	
	
}
